import request from '@/common/utils/request'

export function getMenus() {
  return request({
    url: 'get-menus',
    method: 'post'
  })
}

export function changePwd(data) {
  return request({
    url: 'user/change-pwd',
    method: 'post',
    data
  })
}

export function logout(){
  return request({
    url: 'logout',
    method: 'post'
  })
}
